import 'package:flutter/cupertino.dart';

class GlobalConfig {
  // 主题色
  static Color _theme = Color.fromRGBO(58, 98, 237, 1);

  // 边框颜色
  static Color _borderColor = Color.fromRGBO(236, 236, 236, 1);

  // 标题
  static Color _titleColor = Color.fromRGBO(51, 51, 51, 1);

  // 内容
  static Color _titleContent = Color.fromRGBO(144, 144, 144, 1);

  // 辅助文字
  static Color _assistColor = Color.fromRGBO(170, 170, 170, 1);

  // 投影
  static List<BoxShadow> _boxShadow = [
    BoxShadow(
      offset: Offset(0, 1),
      color: Color.fromRGBO(99, 99, 99, .1),
      blurRadius: 10,
    )
  ];

  //----------------------
  // 访问方式
  static Color get borderColor => _borderColor;

  static Color get theme => _theme;

  static Color get assistColor => _assistColor;

  static Color get titleContent => _titleContent;

  static Color get titleColor => _titleColor;

  static List<BoxShadow> get boxShadow => _boxShadow;
}
